#include "diancan.h"

diancan::diancan(QWidget *parent) :
        QMainWindow(parent)
      ,a(nullptr)

{
    resize(500,400);
    a=new QPushButton;
    a->setParent(this);
    a->setText("点餐完毕");
    a->resize(100,30);
    a->move(200,300);
    connect(a,SIGNAL(clicked()),this,SLOT(test()));
}


void diancan::test()
{
    emit mySignal();
}
